package com.zdemo.pressure;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.logging.Logger;

import com.zdemo.common.Logging;

public class RequestThread extends Thread {

	public static final String defaultName = "request-thread";
	private static final AtomicInteger created = new AtomicInteger();
	private static final AtomicInteger alive = new AtomicInteger();
	private static final Logger log = Logging.getLogger();
	
	public RequestThread(Runnable r) {
		this(r, defaultName);
	}

	public RequestThread(Runnable r, String name) {
		super(r, name + "-" + created.getAndIncrement());
	}

}